import { DefaultFooter } from '@ant-design/pro-components';

const Footer: React.FC = () => {
  const currentYear = new Date().getFullYear();

  return (
    <DefaultFooter
      copyright={`${currentYear} ${'江西师范大学 - 蛇皮鸡'}`}
      links={[
        {
          key: 'HomePage',
          title: '主页',
          href: 'http://home.shepiji.top',
          blankTarget: true,
        },
        {
          key: 'Github',
          title: 'Github',
          href: 'https://github.com/canGeEr',
          blankTarget: true,
        },
        {
          key: 'Gitee',
          title: 'Gitee',
          href: 'https://gitee.com/cangeer',
          blankTarget: true,
        },
        {
          key: 'Editor',
          title: '电子面单编辑器',
          href: 'http://editor.shepiji.top',
          blankTarget: true,
        },
      ]}
      style={{ backgroundColor: 'transparent' }}
    />
  );
};

export default Footer;
